#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/wait.h>

#include "menu.h"
#include "song.h"



int main()
{
	int c,loop = 1;
	while(loop)
	{
		system("clear");
		c = Menu();
		switch(c)
		{
			case 1:	
				singing_list();					
				break;
			case 2:	
				play_control();				
				break;
			case 3:	
				volume_control();				
				break;
			case 4:	
				send_message("quit\n");
			default:
				loop = 0;
				int status;
				wait(&status);
				break;
		}
	}
}


